package com.gec.entity;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author GOF
 * @since 2021-11-04
 */
@TableName("HP_PLANS")
@KeySequence("SEQ_HP_PLANS")
public class Plans implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "PLAN_ID",type = IdType.INPUT)
    private Integer id;

    /**
     * 医生
     */
    @TableField("PLAN_DOC_ID")
    private Integer docId;

    /**
     * 出诊日期
     */
    @TableField("PLAN_DATE")
    private LocalDateTime date;

    /**
     * 1-上午,2-下午
     */
    @TableField("PLAN_TIMETYPE")
    private Integer timetype;

    /**
     * 挂号费
     */
    @TableField("PLAN_FEE")
    private Integer fee;

    /**
     * 出诊诊室
     */
    @TableField("PLAN_ROOM")
    private String room;

    /**
     * 此次出诊放号总数
     */
    @TableField("PLAN_MAX")
    private Integer max;

    /**
     * 当前剩余号数
     */
    @TableField("PLAN_CAN")
    private Integer can;

    /**
     * 1-正常 2-取消
     */
    @TableField("PLAN_STATE")
    private Integer state;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDocId() {
        return docId;
    }

    public void setDocId(Integer docId) {
        this.docId = docId;
    }

    public LocalDateTime getDate() {
        return date;
    }

    public void setDate(LocalDateTime date) {
        this.date = date;
    }

    public Integer getTimetype() {
        return timetype;
    }

    public void setTimetype(Integer timetype) {
        this.timetype = timetype;
    }

    public Integer getFee() {
        return fee;
    }

    public void setFee(Integer fee) {
        this.fee = fee;
    }

    public String getRoom() {
        return room;
    }

    public void setRoom(String room) {
        this.room = room;
    }

    public Integer getMax() {
        return max;
    }

    public void setMax(Integer max) {
        this.max = max;
    }

    public Integer getCan() {
        return can;
    }

    public void setCan(Integer can) {
        this.can = can;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Plans{" +
        ", id=" + id +
        ", docId=" + docId +
        ", date=" + date +
        ", timetype=" + timetype +
        ", fee=" + fee +
        ", room=" + room +
        ", max=" + max +
        ", can=" + can +
        ", state=" + state +
        "}";
    }
}
